import datetime

from mongoengine import Document, StringField, DictField, DateTimeField, ListField, IntField
from pydantic import BaseModel


class UpdateHtml(BaseModel):
    cid: str
    keyid: str
    html: str
    down_date: str


class PaperRenMinRiBaoHaiWaiModel(BaseModel):
    cid: str
    years: str
    moths: str
    days: str
    days_url: str
    versions_title: str
    versions_url: str
    jsondicts: dict
    stat: int
    stathtml: int

